home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / KAFFE-0.2 / KAFFE / READCLAS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-30  |  717 b   |  34 lines

  1. /*
  2.  * readClass.h
  3.  * Various bits of information in a Java class file.
  4.  *
  5.  * Copyright (c) 1996 Systems Architecture Research Centre,
  6.  *           City University, London, UK.
  7.  *
  8.  * See the file "license.terms" for information on usage and redistribution
  9.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10.  *
  11.  * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  12.  */
  13.  
  14. #ifndef __readclass_h
  15. #define __readclass_h
  16.  
  17. #define    JAVAMAGIC    0xCafeBabe
  18. #define    MAJOR_VERSION    45
  19. #define    MINOR_VERSION    3
  20.  
  21. typedef struct _field_info {
  22.     u2        access_flags;
  23.     u2        name_index;
  24.     u2        signature_index;
  25. } field_info;
  26.  
  27. typedef struct _method_info {
  28.     u2        access_flags;
  29.     u2        name_index;
  30.     u2        signature_index;
  31. } method_info;
  32.  
  33. #endif
  34.